-- Do not manually edit this file, it was auto-generated by dillonkearns/elm-graphql
-- https://github.com/dillonkearns/elm-graphql


module Qore.Object.Titlestmt exposing (..)

import Graphql.Internal.Builder.Argument as Argument exposing (Argument)
import Graphql.Internal.Builder.Object as Object
import Graphql.Internal.Encode as Encode exposing (Value)
import Graphql.Operation exposing (RootMutation, RootQuery, RootSubscription)
import Graphql.OptionalArgument exposing (OptionalArgument(..))
import Graphql.SelectionSet exposing (SelectionSet)
import Json.Decode as Decode
import Qore.InputObject
import Qore.Interface
import Qore.Object
import Qore.Scalar
import Qore.ScalarCodecs
import Qore.Union


titleproper : SelectionSet decodesTo Qore.Object.Titleproper -> SelectionSet (List decodesTo) Qore.Object.Titlestmt
titleproper object_ =
    Object.selectionForCompositeField "titleproper" [] object_ (identity >> Decode.list)


subtitle : SelectionSet decodesTo Qore.Object.Subtitle -> SelectionSet (List decodesTo) Qore.Object.Titlestmt
subtitle object_ =
    Object.selectionForCompositeField "subtitle" [] object_ (identity >> Decode.list)


author : SelectionSet decodesTo Qore.Object.Author -> SelectionSet (List decodesTo) Qore.Object.Titlestmt
author object_ =
    Object.selectionForCompositeField "author" [] object_ (identity >> Decode.list)


sponsor : SelectionSet decodesTo Qore.Object.Sponsor -> SelectionSet (List decodesTo) Qore.Object.Titlestmt
sponsor object_ =
    Object.selectionForCompositeField "sponsor" [] object_ (identity >> Decode.list)


id : SelectionSet (Maybe String) Qore.Object.Titlestmt
id =
    Object.selectionForField "(Maybe String)" "id" [] (Decode.string |> Decode.nullable)


altrender : SelectionSet (Maybe String) Qore.Object.Titlestmt
altrender =
    Object.selectionForField "(Maybe String)" "altrender" [] (Decode.string |> Decode.nullable)


audience : SelectionSet (Maybe String) Qore.Object.Titlestmt
audience =
    Object.selectionForField "(Maybe String)" "audience" [] (Decode.string |> Decode.nullable)


lang : SelectionSet (Maybe String) Qore.Object.Titlestmt
lang =
    Object.selectionForField "(Maybe String)" "lang" [] (Decode.string |> Decode.nullable)


script : SelectionSet (Maybe String) Qore.Object.Titlestmt
script =
    Object.selectionForField "(Maybe String)" "script" [] (Decode.string |> Decode.nullable)


encodinganalog : SelectionSet (Maybe String) Qore.Object.Titlestmt
encodinganalog =
    Object.selectionForField "(Maybe String)" "encodinganalog" [] (Decode.string |> Decode.nullable)
